import { ref } from "vue";
import type { AvueCrudOption } from "@smallwei/avue";
import { useColumns } from "./useColumns";

export default function () {
  const option: AvueCrudOption = {
    rowKey: "menuId",
    align: "center",
    index: true,
    indexLabel: "序号",
    delBtn: false,
    searchShow: false,
    column: useColumns(),
  };

  return ref(option);
}
